#ifndef DopplerViewFrame_H
#define DopplerViewFrame_H

#include <QWidget>
#include <QList>

class DopplerDataView ;

class QDragEnterEvent  ;
class QDragLeaveEvent  ;
class QDropEvent  ;
class DopplerViewFrame : public QWidget
{
    Q_OBJECT
public:
    explicit DopplerViewFrame(QWidget *parent = 0);
    ~DopplerViewFrame();
protected:
    void dragEnterEvent(QDragEnterEvent *)  ;
    void dragLeaveEvent(QDragLeaveEvent *)  ;
    void dropEvent(QDropEvent *)  ;
    //void timerEvent(QTimerEvent *event)  ;
    void DropEventProcess(QDropEvent* event)  ;

    void SettingWidgetConfig(DopplerDataView* pView_);
    void CreateDisplayWidget(int nPlotGeometry_ , QWidget* pWidget_);
    void CreateDisplayWidget1(QWidget* pWidget_);
    void CreateDisplayWidget2();
    void CreateDisplayWidget3();
    void CreateDisplayWidget4();
protected:
    static QList<QWidget*>* m_pChildWidgetList  ;
    int   m_nPlotGeometry  ;

signals:
    void signalDropEvent(int)  ;
    void signalCreateDrawWindow(QWidget* posWidget , int _nId ) ;
public slots:
    void slotCreateDrawWindow(QWidget* posWidget , int _nId ) ;
};

#endif // DOPPLERDROPVIEW_H
